.switch{
    width: 470px;
    margin: 20px auto;
    padding: 0;
    text-align: center;
}
.logBtn,.regBtn{
    font-size: 20px;
    display: inline-block;
    width: 226px;
    padding: 10px 0;
    background-color: lightcyan;
    margin: 30px auto 0 auto;
    border-radius: 5px;
    cursor: pointer;
    color: black;
    transition: all 0.2s linear;
}
.logBtn:hover,.regBtn:hover{
    background-color: yellow;
}

.box{
    width: 400px;
    height: 100%;
    background-color: black;
    border-radius: 10px;
    margin: 0px auto;
    padding: 30px;
    opacity: 0.7;
    max-height: 500px;
    overflow: auto;
    text-align: center;
}
h2{
    color: white;
    text-align: center;
}
.item{
    height: 45px;
    width: 88%;
    color: #03e9f4;
    border-bottom: 1px solid #fff;
    margin: 0 auto;
    margin-bottom: 40px;
    position: relative;
}        
.item input{
    color: white;
}
.item input:focus+label,.item input:valid+label{
    top: 0px;
    font-size: 12px;
    color: white;
}
.item label{
    position: absolute;
    left: 0;
    top: 12px;
    transition: all 0.3s linear;
}
.btn{
    width: 100px;
    height: 40px;
    border: 1px solid white;
    border-radius: 10px;
    color: #03e9f4;
    padding: 10px 20px;
    margin: 15px auto;
    transition: all 0.2s linear;
}
.btn:hover{
    background-color: #03e9f4;
    color: white;
    box-shadow: 0 0 5px 0 #03e9f4,
                0 0 25px 0 #03e9f4,
                0 0 50px 0 #03e9f4;
    text-transform: uppercase;
    cursor: pointer;
}
input,button{
    width: 100%;
    height: 100%;
    background-color: transparent;
    outline: none;
    border: none;
    padding-top: 20px;
    box-sizing: border-box;
}
.router-link-active{
    background-color: rgb(199, 252, 93);
}
.v-enter,.v-leave-to{
    opacity: 0;
}
.v-enter-active,.v-leave-active{
    transition: all 0.2s linear;
}